package com.ftg.learn.comm.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.learn.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 班级信息
 * </p>
 *
 * @author kangjx
 * @since 2022-09-30
 */
@Data
@ApiModel(value = "班级实体",description = "班级表的映射对象")
@TableName("sys_clazz")
public class Clazz extends BaseEntity {

    /**
     * 班级名称
     */
    @TableField("clazz_name")
    @ApiModelProperty(value = "班级名称",example = "研发一班",required = true)
    private String clazzName;

    /**
     * 班级地址
     */
    @TableField("clazz_address")
    @ApiModelProperty(value = "班级地址",example = "哈东校区",required = true)
    private String clazzAddress;

    /**
     * 班主任，直接存中文，目标为了完成统计
     */
    @TableField("clazz_teacher_name")
    @ApiModelProperty(value = "班主任",example = "张三")
    private String clazzTeacherName;

    /**
     * 班级类型，根据字典表进行查询出来的，exam: 二类本科，三类本科，专科等
     */
    @TableField("clazz_type")
    @ApiModelProperty(value = "班级类型，根据字典表进行查询出来的，exam: 二类本科，三类本科，专科等",example = "10001")
    private Integer clazzType;

}
